package com.xp.tinyurl.service.thirdprovider.enums;

public enum UomgChannelEnum {
    /**
     * Uomg api doc: https://api.uomg.com/doc-long2dwz.html
     * Uomg官网说支持[tcn|dwzcn|urlcn|suoim|mrwso|]
     * 实测只支持[tcn|urlcn|]
     */
    SINA(1, "tcn"),
    WECHAT(2, "urlcn"),
    ;

    private Integer index;
    private String name;

    UomgChannelEnum(int i, String d) {
        this.index = i;
        this.name = d;
    }

    public int getIndex() {
        return this.index;
    }

    public String getName() {
        return this.name;
    }

}
